import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';

import { AppComponent } from './app.component';
import { HellowNgComponent } from './01.hellowNg/hellowNg.component';
import { sonComponent } from './02.son/son.component';
import { ParentComponent } from './parent/parent.component';
import { PinkComponent } from './pink/pink.component';

// 使用 【ng g component 组件名称】 可以直接生成组件并注册
@NgModule({
  declarations: [AppComponent, HellowNgComponent, sonComponent, ParentComponent, PinkComponent],
  imports: [BrowserModule],
  providers: [],
  bootstrap: [AppComponent],
})
export class AppModule {}
